package com.edgegateway.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.edgegateway.common.annotation.Excel;
import com.edgegateway.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 边缘网关对象 iot_edge_gateway
 * 
 * @author ruoyi
 * @date 2023-01-03
 */
public class IotEdgeGateway extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private String id;

    /** 边缘网关名称 */
    @Excel(name = "边缘网关名称")
    private String name;

    /** 边缘网关地址 */
    @Excel(name = "边缘网关地址")
    private String gatewayUrl;

    /** 描述 */
    @Excel(name = "描述")
    private String detail;

    /**  */
    private String createdBy;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**  */
    private String updatedBy;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /**  */
    private String deleted;

    /**  */
    @Excel(name = "")
    private Integer status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGatewayUrl(String gatewayUrl) 
    {
        this.gatewayUrl = gatewayUrl;
    }

    public String getGatewayUrl() 
    {
        return gatewayUrl;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gatewayUrl", getGatewayUrl())
            .append("detail", getDetail())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("deleted", getDeleted())
            .append("status", getStatus())
            .toString();
    }
}
